package com.company.apollo_query.apollo_query.apollo_query.tb_shipping_order_main.generated;

import com.company.apollo_query.apollo_query.apollo_query.tb_shipping_order_main.TbShippingOrderMain;
import com.speedment.runtime.config.identifier.TableIdentifier;
import com.speedment.runtime.core.manager.AbstractManager;
import com.speedment.runtime.field.Field;
import java.util.stream.Stream;
import javax.annotation.Generated;

/**
 * The generated base implementation for the manager of every {@link
 * com.company.apollo_query.apollo_query.apollo_query.tb_shipping_order_main.TbShippingOrderMain}
 * entity.
 * <p>
 * This file has been automatically generated by Speedment. Any changes made to
 * it will be overwritten.
 * 
 * @author Speedment
 */
@Generated("Speedment")
public abstract class GeneratedTbShippingOrderMainManagerImpl extends AbstractManager<TbShippingOrderMain> implements GeneratedTbShippingOrderMainManager {
    
    private final TableIdentifier<TbShippingOrderMain> tableIdentifier;
    
    protected GeneratedTbShippingOrderMainManagerImpl() {
        this.tableIdentifier = TableIdentifier.of("apollo_query", "apollo_query", "tb_shipping_order_main");
    }
    
    @Override
    public TableIdentifier<TbShippingOrderMain> getTableIdentifier() {
        return tableIdentifier;
    }
    
    @Override
    public Stream<Field<TbShippingOrderMain>> fields() {
        return Stream.of(
            TbShippingOrderMain.ID,
            TbShippingOrderMain.TRACKING_ID,
            TbShippingOrderMain.SOURCE_ID,
            TbShippingOrderMain.PLATFORM_TRACKING_ID,
            TbShippingOrderMain.RETAILER_ID,
            TbShippingOrderMain.SHIPPING_OPTION,
            TbShippingOrderMain.GRID_ID,
            TbShippingOrderMain.CARRIER_ID,
            TbShippingOrderMain.AGENT_ID,
            TbShippingOrderMain.STATION_ID,
            TbShippingOrderMain.CARRIER_DRIVER_ID,
            TbShippingOrderMain.SHIPPING_STATE,
            TbShippingOrderMain.SHIPPING_REASON_CODE,
            TbShippingOrderMain.REMARK_CODE,
            TbShippingOrderMain.CITYID,
            TbShippingOrderMain.ACCEPT_AT,
            TbShippingOrderMain.COMPLETE_AT,
            TbShippingOrderMain.UPDATED_AT,
            TbShippingOrderMain.CREATED_AT
        );
    }
    
    @Override
    public Stream<Field<TbShippingOrderMain>> primaryKeyFields() {
        return Stream.of(
            TbShippingOrderMain.ID
        );
    }
}